<template>
    <div class="backbutton-wrapper" @click="click"></div>
</template>

<script>
    export default {
        name: "BackButton",
        methods: {
            click() {
                this.$router.back();
            }
        }
    };
</script>

<style scoped lang="scss">
    @import "../assets/scss/define";
    $l: 40px;
    .backbutton-wrapper {
        width: $l;
        height: $l;

        @include mask-img('../assets/imgs/back.svg');
        background-color: $base-font-color;
    }
</style>
